﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Windows;

namespace KYKJ.Monitor
{
    /// <summary>
    /// App.xaml 的交互逻辑
    /// </summary>
    public partial class App : Application
    {
        protected override void OnStartup(StartupEventArgs e)
        {
            //base.OnStartup(e);
            MainWindow mainWindow = new Monitor.MainWindow();
            //this.MainWindow = mainWindow;
            //Login.LoginWindow login = new Login.LoginWindow();
            //bool? loginResult = login.ShowDialog();
            //if (loginResult == true)
            //{
            //    mainWindow.Show();
            //}
            //else
            //{
            //    this.Shutdown();
            //}
            mainWindow.Show();
        }
    }
}
